package com.py.net.client.businese;

import com.google.protobuf.MessageLite;
import com.py.net.proto.ChatProbuf.STCLogin;
import com.py.net.proto.IBusineseHandle;

public class ClientLoginHandle extends IBusineseHandle<STCLogin> {

	@Override
	public MessageLite handle(STCLogin msg) {
		//登陆返回逻辑
		if (msg.getStatus() == 0) {
			//登陆成功
			System.out.println("登陆成功");
		} else {
			//登陆失败
			System.out.println("登陆失败");
		}
		return null;
	}

}
